package site_api

import (
	"gitee.com/lvshicong/blog/models/enum"
	"gitee.com/lvshicong/blog/service/log_service"
	"github.com/gin-gonic/gin"
)

type SiteApi struct {
}

func (s SiteApi) SiteInfoView(c *gin.Context) {
	log_service.NewLoginSuccess(c, enum.UserPassLoginType)
	log_service.NewLoginFail(c, enum.UserPassLoginType, "用户名不存在", "fengfeng", "12345678")
	c.JSON(200, gin.H{"code": 0, "msg": "success"})
	return
}
